Skip to content

Added status message area to USB connect workflow #334

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ericzundel
Copy link

@ericzundel ericzundel commented Jul 26, 2025

This PR attempts to provide user friendly feedback during the USB connection using WebSerial and selecting a filesystem mount point.

image

I worked on this PR when noticing some hiccups when trying to connect my microprocessor via USB. See #327, although it's not a great solution to the read-only issue as the element I created to show status isn't visible after the connect part of the workflow finishes.

- Removed some catching of exceptions inside the workflow
  to catch at outer function so we can report.
- Added an element to the dialog to hold status messages.
- Catch and analyze exceptions to print user friendly
  messages if possible.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant